﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Newtor.VoteMan
{
    public interface IVoteProjectManager
    {
        void CreateVoteProject(VoteProject vp);

        VoteProject GetVoteProject(Guid vpId);

        VoteProject[] All { get; }

        void UpdateVoteProject(VoteProject vp);

        VoteProject[] RootProjects { get; }

        VoteProject GetRootProjectByItemId(Guid viId);

        VoteProject GetRootProject(Guid vpId);
    }
}